public class Test {
    private static void func(int a){
        if(a==0){
            throw new ArithmeticException("a==0");
        }
    }
    public static void main(String[] args) {
        func(0);
    }
}